import http from './http'

//api/User/login

let baseUrl = http.path;

export { baseUrl } ;

///api/Common/upload

export function getApiUpload(data){
    return http.formData('api/Common/upload',data);
}

//api/User/saveUserDiplomaImage

export function getApisaveUserDiplomaImage(data){
    return http.formData('api/User/saveUserDiplomaImage',data);
}

///api/Live/userApply

export function getApiLiveApply(data){
    return http.post('api/Live/userApply',data);
}

///api/Index/getHomeBrandType

export function getApiHomeBrandType(data){
    return http.get('api/Index/getHomeBrandType',data);
}

//api/Index/getTeacherType

export function getApiTeacherType(data){
    return http.get('api/Index/getTeacherType',data);
}

//api/Index/getSignTypeList

export function getApiSignType(data){
    return http.get('api/Index/getSignTypeList',data);
}

///api/Index/getSignList

export function getApiSignList(data){
    return http.get('api/Index/getSignList',data);
}

///api/Index/getSignInfo

export function getApiSignInfo(data){
    return http.get('api/Index/getSignInfo',data);
}

///api/Index/setSign


export function getApisetSign(data){
    return http.post('api/Index/setSign',data);
}

///api/Index/getBrandList

export function getApiBrandList(data){
    return http.get('api/Index/getBrandList',data);
}

//api/Index/getBrandInfo

export function getApiBrandInfo(data){
    return http.get('api/Index/getBrandInfo',data);
}

///api/Index/getDownTypeList

export function getApiDownTypeList(data){
    return http.get('api/Index/getDownTypeList',data);
}

//api/Index/getDownList

export function getApiDownList(data){
    return http.get('api/Index/getDownList',data);
}

//api/Index/getHomeTeacher

export function getApiHomeTeacher(data){
    return http.get('api/Index/getHomeTeacher',data);
}

///api/User/getUserApply

export function getApiUserApply(data){
    return http.post('api/User/getUserApply',data);
}

///api/Index/getBanner

export function getApiBanner(data){
    return http.post('api/Index/getBanner',data);
}
export function getApiAbout(data){
    return http.post('api/index/getAbout',data);
}

///api/Index/getTeachersList

export function getApiTeachersList(data){
    return http.post('api/Index/getTeachersList',data);
}

///api/Index/getTeacherInfo

export function getApiTeachersInfo(data){
    return http.post('api/Index/getTeacherInfo',data);
}


///api/Index/getNoticeTypeList

export function getApiNoticeTypeList(data){
    return http.post('api/Index/getNoticeTypeList',data);
}

///api/Courses/getCoursesType

export function getApiCoursesType(data){
    return http.post('api/Courses/getCoursesType',data);
}

//api/Index/getNoticeBanner

export function getApiNoticeBanner(data){
    return http.post('api/Index/getNoticeBanner',data);
}

//api/Index/getNotice

export function getApiNotice(data){
    return http.post('api/Index/getNotice',data);
}

///api/Index/getNoticeInfo

export function getApiNoticeInfo(data){
    return http.post('api/Index/getNoticeInfo',data);
}

///api/Courses/getCoursesList

export function getApiCoursesList(data){
    return http.post('api/Courses/getCoursesList',data);
}

//api/Coureses/getCoursesInfo

export function getApiCoursesInfo(data){
    return http.get('api/Courses/getCoursesInfo',data);
}

//api/Courses/getCourseCatalogue

export function getApiCoursesCatalogue(data){
    return http.get('api/Courses/getCourseCatalogue',data);
}


///api/User/register

export function getApiRegister(data){
    return http.post('api/User/register',data);
}

///api/Sms/send

export function getApiSend(data){
    return http.post('api/Sms/send',data);
}

//api/User/login

export function getApiLogin(data){
    return http.post('api/User/login',data);
}

///api/User/getUserInfo

export function getApiUserInfo(data){
    return http.post('api/User/getUserInfo',data);
}

//api/Live/getLiveType

export function getApiLiveType(data){
    return http.post('api/Live/getLiveType',data);
}

///api/Live/getLiveList

export function getApiLiveList(data){
    return http.post('api/Live/getLiveList',data);
}

///api/Live/getLiveInfo

export function getApiLiveInfo(data){
    return http.post('api/Live/getLiveInfo',data);
}

///api/Order/getUserShopCart

export function getApiUserShopCart(data){
    return http.post('api/Order/getUserShopCart',data);
}

///api/Order/saveUserShopCart

export function getApiSaveUserShopCart(data){
    return http.post('api/Order/saveUserShopCart',data);
}

///api/Order/deleteShopCart

export function getApiDeleteShopCart(data){
    return http.post('api/Order/deleteShopCart',data);
}

///api/User/profile

export function getApiProfile(data){
    return http.post('api/User/profile',data);
}

///api/User/getUserCenter

export function getApiUserCenter(data){
    return http.post('api/User/getUserCenter',data);
}

///api/Courses/joinCourse

export function getApiJoinCourse(data){
    return http.post('api/Courses/joinCourse',data);
}

//getApiresetpwd

export function getApiresetpwd(data){
    return http.post('api/User/resetpwd',data);
}

///api/Courses/getCoursesContentInfo

export function getApiCoursesContentInfo(data){
    return http.post('api/Courses/getCoursesContentInfo',data);
}

///api/Record/insertTotalRecord

export function getApiInsertTotalRecord(data){
    return http.post('api/Record/insertTotalRecord',data);
}

///api/Courses/getExamInfo

export function getApiExamInfo(data){
    return http.post('api/Courses/getExamInfo',data);
}

///api/Record/insertRecordExamMaster

export function getApiInsertRecordExamMaster(data){
    return http.post('api/Record/insertRecordExamMaster',data);
}

///api/User/getUserExamRecoed

export function getApiUserExamRecoed(data){
    return http.post('api/User/getUserExamRecoed',data);
}

///api/index/index

export function getApiIndexData(data){
    return http.get('api/index/index',data);
}

///api/Courses/saveUserNote

export function getApiSaveUserNote(data){
    return http.post('api/Courses/saveUserNote',data);
}

///api/User/getUserNote

export function getApiUserNote(data){
    return http.post('api/User/getUserNote',data);
}

///api/User/getUserCourses

export function getApiUserCourse(data){
    return http.post('api/User/getUserCourses',data);
}

///api/User/getUserDiploma

export function getApiUserDiploma(data){
    return http.post('api/User/getUserDiploma',data);
}

///api/User/searchInfo

export function getApiSearchInfo(data){
    return http.post('api/User/searchInfo',data);
}

///api/Courses/delUserNote

export function getApiDelUserNote(data){
    return http.post('api/Courses/delUserNote',data);
}

///api/Order/getShopCartInfo

export function getApiShopCartInfo(data){
    return http.post('api/Order/getShopCartInfo',data);
}

///api/Order/createOrder

export function getApiCreateOrder(data){
    return http.post('api/Order/createOrder',data);
}

///api/User/changemobile

export function getApiChangeMobile(data){
    return http.post('api/User/changemobile',data);
}

///api/Alipay/alipay_pc

export function getApiAlipay(data){
    return http.post('api/Alipay/alipay_pc',data);
}

///api/Wxpay/get_order_info
export function getApiWxPayOrderInfo(data){
    return http.post('api/Wxpay/get_order_info',data);
}

///api/Order/getUserOrder

export function getApiUserOrder(data){
    return http.post('api/Order/getUserOrder',data);
}

///api/User/getUserMessage

export function getApiUserMessage(data){
    return http.post('api/User/getUserMessage',data);
}

///api/User/cleanMessage

export function getApiCleanMessage(data){
    return http.post('api/User/cleanMessage',data);
}

//api/index/getCompenyList

export function getApiCompenyList(data){
    return http.post('api/index/getCompenyList',data);
}

//http://educations.njql.top//api/Index/getGlobalList

export function getApiGlobalList(data){
    return http.post('api/Index/getGlobalList',data);
}

//http://educations.njql.top//api/Index/getGlobalSearch

export function getApiGlobalSearch(data){
    return http.post('api/Index/getGlobalSearch',data);
}

//api/Courses/getAllClass

export function getApiAllClass(data){
    return http.post('api/Courses/getAllClass',data);
}

//http://educations.njql.top//api/Live/getLiveTypes
export function getApiLiveTypes(data){
    return http.post('api/Live/getLiveTypes',data);
}

//http://educations.njql.top/api/Courses/getGoodClass

export function getApiGoodClass(data){
    return http.post('api/Courses/getGoodClass',data);
}

export function getApiHotClass(data){
    return http.post('api/Courses/getHotClass',data);
}

export function getApiStudyClass(data){
    return http.post('api/Courses/getStudyClass',data);
}

//http://educations.njql.top//api/Live/getnLists

export function getApinListsClass(data){
    return http.post('api/Live/getnLists',data);
}

export function getApiReserveLists(data){
    return http.post('api/Live/getReserveLists',data);
}

export function getApiBackLists(data){
    return http.post('api/index/BackLiveList',data);
}

//api/index/getclassBanner

export function getApiClassBanner(data){
    return http.post('api/index/getclassBanner',data);
}

//api/index/getliveBanner

export function getApiLiveBanner(data){
    return http.post('api/index/getliveBanner',data);
}

//http://educations.njql.top//api/Index/GetHonorBanner

export function getApiHonorBanner(data){
    return http.post('api/index/GetHonorBanner',data);
}

//http://educations.njql.top//api/Index/GetHonerInfo

export function getApiHonerInfo(data){
    return http.post('api/index/GetHonerInfo',data);
}

//http://educations.njql.top//api/Index/GetDownLists

export function getApiGetDownLists(data){
    return http.post('api/index/GetDownLists',data);
}

//http://educations.njql.top/api/Index/getSignTypeLists

export function getApiSignTypeLists(data){
    return http.post('api/Index/getSignTypeLists',data);
}

//http://educations.njql.top//api/Index/GetSignLists

export function getApiGetSignLists(data){
    return http.post('api/Index/GetSignLists',data);
}

///api/index/getSignInfo?id=1

export function getApiGetSignInfo(data){
    return http.post('api/Index/getSignInfo',data);
}

//api/index/signlist

export function getApisignlist(data){
    return http.post('api/Index/signlist',data);
}

///api/index/honorsj

export function getApiHonorJs(data){
    return http.post('api/Index/honorsj',data);
}

///api/Index/GetWorkList
export function getApiGetWorkList(data){
    return http.post('api/Index/GetWorkList',data);
}

///api/Index/Getwork
export function getApiGetWork(data){
    return http.post('api/Index/Getwork',data);
}

//api/Index/GwtWorkInfo

export function getApiGetWorkInfo(data){
    return http.post('api/Index/GwtWorkInfo',data);
}

//api/User/MyWorkList
export function getApiMyWorkList(data){
    return http.post('api/User/MyWorkList',data);
}

//api/User/QxWork

export function getApiQxWork(data){
    return http.post('api/User/QxWork',data);
}

//api/User/EditWork

export function getApiEditWork(data){
    return http.post('api/User/EditWork',data);
}

//api/sign/MySign

export function getApiMySign(data){
    return http.post('api/sign/MySign',data);
}


//api/Sign/QXsign

export function getApiQXsign(data){
    return http.post('api/sign/QXsign',data);
}

//api/user/operateDiploma

export function operateDiploma(data){
    return http.post('api/user/operateDiploma',data);
}

///api/Index/getActivityForm

export function getApiActivityForm(data){
    return http.post('api/Sign/getActivityForm',data);
}

///api/Index/getCategoryList

export function getApiCategoryList(data){
    return http.get('api/Sign/getCategoryList',data);
}

///api/User/mobilecheck

export function getApiMobileCheck(data){
    return http.post('api/User/mobilecheck',data);
}

//api/Index/editSignInfo

export function getApieditSignInfo(data){
    return http.post('api/Sign/editSignInfo',data);
}

///api/Index/getSignInfo

export function getApigetSignInfo(data){
    return http.get('api/Sign/getSignInfo',data);
}

///api/Index/setData

export function getApisetData(data){
    return http.post('api/Sign/setData',data);
}

///api/Index/setSignInfo

export function getApisetSignInfo(data){
    return http.post('api/Sign/setSignInfo',data);
}

//api/Index/mechanismList

export function getApiMechanismList(data){
    return http.post('api/Index/mechanismList',data);
}

//api/Live/GetSchool

export function getApiGetSchoolInfo(data){
    return http.post('api/Live/GetSchool',data);
}

//api/Index/icp

export function getApiIndexIcp(data){
    return http.post('api/Index/icp',data);
}

//api/Index/BasicInfo  

export function getApiBasicInfo(data){
    return http.post('api/Index/BasicInfo',data);
}

//api/Index/IndexHref  

export function getApiIndexHref(data){
    return http.post('api/Index/IndexHref',data);
}

//api/Index/CoursesIndex

export function getApiCoursesIndex(data){
    return http.post('api/Index/CoursesIndex',data);
}

//api/Index/ImageNewInfo

export function getApiImageNewInfo(data){
    return http.post('api/Index/ImageNewInfo',data);
}

//api/Index/NewsInfo 

export function getApiIndexNewsInfo(data){
    return http.post('api/Index/NewsInfo',data);
}

//http://educations.njql.top//api/Live/backlive

//http://educations.njql.top/api/Courses/getStudyClass

// //https://upload-z0.qiniup.com/

// export function getApiQiniuUpload(data){
//     return http.formData('https://upload-z0.qiniup.com/',data);
// }

// ///addons/qiniu/index/getToken

// export function getApiQiniuToken(data){
//     return http.post('addons/qiniu/index/getToken',data);
// }


